package com.crane.oss.sys.bean.request.role;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @author bealon
 * @email ccsu123456@qq.com
 * @date 2019年01月04日 14时54分46秒
 */
@Getter
@Setter
@ToString
@ApiModel(description = "新增机构对应角色列席参数")
public class AddPartyRoleRequest implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "机构类型", name = "partyType")
    @NotNull(message = "partyType不能为空")
    private Integer partyType;

    @ApiModelProperty(value = "", name = "roleId")
    @NotNull(message = "roleId不能为空")
    private Long roleId;

    @ApiModelProperty(value = "角色类型：实际为用户类型", name = "userType")
    private Integer userType;

}
